﻿@model Vcare.Models.CallCentres


@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend style="width:260px;">Edit CallCentre</legend>

        @Html.HiddenFor(m => m.CallCentreID)
        @Html.HiddenFor(m => m.LogOn)
        
        <div class="editor-label">
            @Html.LabelFor(model => model.CallCentre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CallCentre)
            @Html.ValidationMessageFor(model => model.CallCentre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Contact1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Contact1)
            @Html.ValidationMessageFor(model => model.Contact1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Contact2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Contact2)
            @Html.ValidationMessageFor(model => model.Contact2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Contact3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Contact3)
            @Html.ValidationMessageFor(model => model.Contact3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email1)
            @Html.ValidationMessageFor(model => model.Email1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email2)
            @Html.ValidationMessageFor(model => model.Email2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email3)
            @Html.ValidationMessageFor(model => model.Email3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Notes)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Notes)
            @Html.ValidationMessageFor(model => model.Notes)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ccsuffix)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ccsuffix)
            @Html.ValidationMessageFor(model => model.ccsuffix)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.pokey)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.pokey)
            @Html.ValidationMessageFor(model => model.pokey)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.address)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.address)
            @Html.ValidationMessageFor(model => model.address)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.potitle)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.potitle)
            @Html.ValidationMessageFor(model => model.potitle)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.active)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.active)
            @Html.ValidationMessageFor(model => model.active)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ApproveTPS)
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(model => model.ApproveTPS)
            @Html.ValidationMessageFor(model => model.ApproveTPS)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NotificationEmail)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NotificationEmail)
            @Html.ValidationMessageFor(model => model.NotificationEmail)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
